package com.cg.service;


import com.cg.dto.CreateSalePlanDto;
import com.cg.dto.SalePlanPageDto;
import com.cg.entity.User;
import com.cg.vo.QuerySalePlanVo;
import com.cg.vo.SalePlanVo;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * (SalePlan)表服务接口
 *
 * @author chengong
 * @since 2023-12-24 10:27:41
 */
public interface SalePlanService {

    /**
     * 销售计划管理列表
     */
    PageInfo<SalePlanVo> list(SalePlanPageDto salePlanPageDto);

    /**
     * 创建销售计划
     */
    Integer createSalePlan(CreateSalePlanDto createSalePlanDto);


    /**
     * 查询销售计划详细信息
     */
    QuerySalePlanVo querySalePlan(Integer salePlanId);


    /**
     * 加载所有的待处理人列表
     */
    List<User> pendingList(Integer userId);

    /**
     * 提交销售计划
     */
    Integer submitSalePlan(CreateSalePlanDto createSalePlanDto);


    /**
     * 打回销售计划
     */
    Integer passSalePlan(CreateSalePlanDto createSalePlanDto);


    /**
     * 删除销售计划
     */
    Integer removeSalePlan(CreateSalePlanDto createSalePlanDto);



}
